﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


class Program
{
    static void Main(string[] args)
    {
        IniFile ini = new IniFile();
        ini.ReadFile(@"config.txt");
        string ip = ini.GetString("链接信息","主机");
        string s = ini.GetString("上次连接", "password");
        Console.WriteLine(s);
        int volume = ini.GetInt("设置", "音量");
        Console.WriteLine(volume);
    }
}
